//
//  RootViewController.h
//  TestXcode5
//
//  Created by ileo on 13-11-13.
//  Copyright (c) 2013年 baozun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AIUserInfo.h"
#import "Check.h"
#import "SystemHelper.h"
#import "ScreenMgr.h"
#import "UmengMgr.h"
#import <RefreshView/LoadMoreController.h>
#import "BaseViewModel.h"

#define BOTTOM_SIDE 70

typedef NS_ENUM(NSInteger, TYPE_MAIN_VIEW) {
    TYPE_MAIN_VIEW_NORMAL,
    TYPE_MAIN_VIEW_SCROLL_NORMAL,
    TYPE_MAIN_VIEW_SCROLL_PULLDOWN,
    TYPE_MAIN_VIEW_TABLE_NORMAL,
    TYPE_MAIN_VIEW_TABLE_PULLDOWN,
};

@interface BaseViewController : UIViewController<LoadMoreControllerDelegate>

@property (nonatomic, strong) LoadMoreController *loadMoreController;

-(id)initWithMainViewType:(TYPE_MAIN_VIEW)type;

-(void)wakeFromBG;

@property (nonatomic, readonly) UIScrollView *scrollView;

@end
